package com.springboot.mapper;

import com.springboot.bean.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


import java.util.List;

@Mapper
public interface EmpMapper {

    @Select("select * from emp where empstate=1")
   public List<Emp> findAllEmp();
}
